package com.hym.vue_cli_demo1.service;



import com.hym.vue_cli_demo1.entity.User;

import java.util.List;

public interface UserService {

    List<User> findAll();
    User findOne(Integer id);
    Integer insertUser(User user);
    Integer deleteUser(Integer id);
    Integer updateUser(User user);
    List<User> search(String name, String phone);
}
